package tag25_13_08.ExamUndUnterricht;

import javax.management.RuntimeErrorException;


class KeineException{}
class MyUncheckedException extends RuntimeException{}
class MyChecked extends Exception{}


public class Ex13_EigeneExceptionsDefinieren {

	public static void main(String[] args) {

//		if(args == null)
//			throw new KeineException();
		
		if(args == null)
			throw new MyUncheckedException();
		
		try{
			if(args == null)
				throw new MyChecked();
		}catch(MyChecked e){
			System.out.println("Sinnvolle Behandlung");
		}
		
		
		
	}

}
